﻿package hibernate.xml44.pojo;

import java.io.Serializable;
import java.util.Set;
/*网站表*/
public class Website implements Serializable{
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	/*一对多(一个网站可以对应多条记录)*/
	private Set<UserWebsite> userWebsite;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set<UserWebsite> getUserWebsite() {
		return userWebsite;
	}
	public void setUserWebsite(Set<UserWebsite> userWebsite) {
		this.userWebsite = userWebsite;
	}
}
